package com.sdhs.listmanage.service;

import com.sdhs.common.core.page.PageQuery;
import com.sdhs.common.core.page.TableDataInfo;
import com.sdhs.listmanage.domain.bo.GcProjectManageListBo;
import com.sdhs.listmanage.domain.vo.GcProjectManageListVo;

import java.util.Collection;
import java.util.List;

/**
 * 项目清单Service接口
 *
 * @author may
 * @date 2023-07-21
 */
public interface IGcProjectManageListService {

    /**
     * 查询项目清单
     */
    GcProjectManageListVo queryById(Long id);

    /**
     * 通过项目ID查询项目清单
     */
    GcProjectManageListVo getInfoByProjectId(Long projectId);

    /**
     * 查询项目清单列表
     */
    TableDataInfo queryPageList(GcProjectManageListBo bo, PageQuery pageQuery);

    /**
     * 查询项目清单列表
     */
    List<GcProjectManageListVo> queryList(GcProjectManageListBo bo);

    /**
     * 新增项目清单
     */
    GcProjectManageListVo insertByBo(GcProjectManageListBo bo);

    /**
     * 修改项目清单
     */
    GcProjectManageListVo updateByBo(GcProjectManageListBo bo);

    /**
     * 校验并批量删除项目清单信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids);
    
}
